/**
 * 
 */
package test.webservice;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author makubex
 * 
 */
public class HelloWorldClient {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] { "applicationContext-WebService-Client.xml" });

		IHelloWorld client = (IHelloWorld) context.getBean("helloWorld");

		String response = client.sayHi("Joe");
		System.out.println("Response: " + response);

	}

}
